﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Studio7i.Dominio.Local>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Eliminar
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Eliminar</h2>

    <h3>¿Estás seguro de eliminar este local?</h3>
    <fieldset>
        <legend>Fields</legend>
        
        <div class="display-label">CodLocal</div>
        <div class="display-field"><%: Model.CodLocal %></div>
        
        <div class="display-label">Nombre</div>
        <div class="display-field"><%: Model.Nombre %></div>
        
        <div class="display-label">Direccion</div>
        <div class="display-field"><%: Model.Direccion %></div>
        
        <div class="display-label">Distrito</div>
        <div class="display-field"><%: Model.Distrito %></div>
        
    </fieldset>
<% using (Html.BeginForm("Eliminar", "Local", new { Codigo = Model.CodLocal }, FormMethod.Post))
       { %>
        <p>
		    <input type="submit" value="Eliminar" /> |
		    <%: Html.ActionLink("Volver atras", "Index") %>
        </p>
    <% } %>

</asp:Content>

